#include "StdAfx.h"
#include "Log.h"

CLog::CLog(char* log, ...)
{
	va_list argList;
	va_start(argList, log);
	vsprintf_s(_log, 1024, log, argList);
	va_end(argList);
}

CLog::~CLog(void)
{
	if ( strlen(_log) > 0 )
	{
		::OutputDebugStringA(_log);
		::OutputDebugStringA("\r\n");
	}
}
